import psutil
pids = psutil.pids()
for pid in pids:
    p = psutil.Process(pid)
    if p.name().startswith('Thunder'):
        print("%d" % pid)
